package com.miplus.ccrm.core.service.sto;

import com.miplus.ccrm.common.CmdResVo;
import com.miplus.ccrm.common.JSysUser;
import com.miplus.ccrm.core.controller.vo.sto.*;
import com.miplus.ccrm.sms.LineAPIR;

import java.util.List;

/**
 * @Author： Yaohui
 * @Date： 2024/12/3 14:06
 * @Describe：
 */
public interface OnLineService {

    LineAPIR refreshSOFPCreditLimit(SOFPReqVo reqVo);
    LineAPIR getSOFPLoanLnvoiceInfo(SOFPReqVo reqVo);
    LineAPIR getSOFPRepayPlan(SOFPReqVo reqVo);
    LineAPIR getSOFPRepaySerial(SOFPReqVo reqVo);
    LineAPIR getSOFPTrial(SOFPReqVo reqVo);
    LineAPIR getSOFPRepaymentResult(SOFPReqVo reqVo);

    CmdResVo repaymentApply(JSysUser user, RepayApplyReqVo reqVo);


    List<RepayApplyResVo> repayApplyList(String creditcaseid,String type);

    OnLineResVo repaymentVerification(OnLineReqVo reqVo);

    RefreshCaseBatchReqVo refreshCaseBatch(RefreshCaseBatchReqVo batchList,String userId);//案件刷新
    CaseDeductionBatchReqVo caseDeductionBatch(CaseDeductionBatchReqVo params,JSysUser user);//案件批量扣款
    CmdResVo refreshCase(String creditcaseid,String userId);//案件刷新

    //融资中台

    LineAPIR getCLMPLoanLnvoiceInfo(CLMPReqVo reqVo);
    LineAPIR getCLMPRepayPlan(CLMPReqVo reqVo);
    LineAPIR getCLMPRepaySerial(CLMPReqVo reqVo);
    LineAPIR getCLMPRepaymentResult(CLMPReqVo reqVo);
    LineAPIR refreshCLMPCreditLimit(CLMPReqVo reqVo);
}
